package org.ldx.lotterysystem.controller.param;

import lombok.Data;
import org.ldx.lotterysystem.service.enums.UserIdentityEnum;

import java.io.Serializable;

/**
 * 一个抽取参数类。抽取了密码登录和验证码登录都需要的身份选项
 */
@Data
public class UserLoginParam implements Serializable {
    /**
     *@see  UserIdentityEnum#name()
     */
    private String mandatoryIdentity;
}
